package com.cpp.server.service;

import com.cpp.pojo.dto.exam.AnswerDTO;
import com.cpp.pojo.dto.exam.ExamQuestionConfirmDTO;
import com.cpp.pojo.dto.question.QuestionGenerateDTO;
import com.cpp.pojo.vo.question.AnswerRightVO;
import com.cpp.pojo.vo.question.QuestionCreateConfirmVO;
import com.cpp.pojo.vo.question.QuestionExamVO;

import java.util.List;

public interface QuestionService {

    void updateQuestion(ExamQuestionConfirmDTO examQuestionConfirmDTO);

    List<QuestionExamVO> generateQuestion(QuestionGenerateDTO questionGenerateDTO);

    AnswerRightVO checkAnswer(AnswerDTO answer);

    List<QuestionExamVO> listPractice();

    QuestionCreateConfirmVO listExamQuestion(Long examId);
}
